#include "SurfaceObject.h"
#include "DefaultShader.h"
#include <string>
#include <iostream>

 void SurfaceObject::InitObject(const char * name)
 {
     _name = name;
     cout << "SurfaceObject Initiated" << endl;
     _sh = new DefaultShader();
    _position.setVector(0.0, 0.0, 0.0);
    _rotation.setVector(0.0, 0.0, 0.0);
    _scale = 1.0;
 }

Matrix4 SurfaceObject::GetObjectOrientation() {
    Matrix4 pos; pos.setTranslate(_position.x, _position.y, _position.z);
    Matrix4 sc; sc.setScale(_scale);

    return pos.mult(sc);
}


void SurfaceObject::printName()
{
    std::cout << _name << std::endl;
}
